package com.example.news360_08;

import android.app.Activity;
import android.os.Bundle;

import com.bumptech.glide.Glide;

import uk.co.senab.photoview.PhotoView;

/**
 * Created by xx on 2016/5/22.
 */
public class ShowImageActivity extends Activity {

    private PhotoView iv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.show_img);
        iv = (PhotoView) findViewById(R.id.iv);

        String url = getIntent().getStringExtra("url");
        Glide.with(this).load(url).into(iv);

    }
}
